body{
    background-color: #eee;
}
/* 顶部 */
.top{
    height: 30px;
    background-color: #ccc;
    padding: 0 0 0 10px;
    line-height: 30px;
    font-size: 14px;
    font-weight: bold;
    background-color: #fff;
    border-radius: 4px;
}
.top a{
    text-decoration: none;
    color: #999;
}
.top a span{
    font-size: 12px;
    position: relative;
    top: -1px;
}
/* 就餐方式 */
.dine{
    display: flex;
    justify-content: space-between;
    background-color: #fff;
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    font-size: 14px;
    align-items: center;
}
.dine .dining{
    display: flex;
    width: 100px;
    height: 20px;
    background-color: #eee;
    border-radius: 10px;
}
.dine .dining span{
    width: 50px;
    height: 20px;
    text-align: center;
    border-radius: 10px;
    font-size: 12px;
    line-height: 20px;
}
.dine .dining span.active{
    background-color: #0ff;
    color: #fff;
}
/* 购物车列表 */
.cart{
    background-color: #fff;
    padding: 10px;
    border-radius: 4px;
}
.cartlist{
    font-size: 14px;
}
.cartlist p{
    padding: 0;
    margin: 0;
    display: flex;
    height: 30px;
    line-height: 30px;
    color: #999;
    font-size: 12px;
}
.cartlist p span:nth-child(1){
    width: 15%;
}
.cartlist p span:nth-child(2){
    width: 40%;
}
.cartlist p span:nth-child(3){
    width: 30%;
}
.cartlist p span:nth-child(4){
    width: 14%;
    text-align: right;
}
.cartlist div div.name{
    width: 40%;
    float: left;
}
.cartlist div div.name span{
    background-color: #eee;
    color: #ccc;
    font-size: 12px;
    padding: 2px;
}
.cartlist div div.number{
    width: 30%;
    float: left;
}
.cartlist div div.price{
    width: 14%;
    float: left;
    text-align: right;
}
.cartlist div img{
    width: 15%;
    height: 50px;
    float: left;
    margin-right: 1%;
    vertical-align: top;
}
.cartlist>div:after{
    content: '';
    display: block;
    clear: both;
}
.cartlist>div{
    margin: 10px 0;
}
/* 优惠券 */
.coupon{
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    height: 30px;
    align-items: center;
}
.coupon span:first-child i{
    color: orangered;
}
.coupon span:last-child{
    font-size: 12px;
    color: #ccc;
}
.coupon span:last-child i{
    font-size: 10px;

}
/* 小计 */
.subtotal{
    display: flex;
    justify-content: space-between;
    height: 30px;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
}
.subtotal span:nth-child(1){
    font-size: 14px;
}
.subtotal span:nth-child(2){
    flex: 1;
    color: #ccc;
    text-align: center;
    font-size: 12px;
}
.subtotal span:nth-child(3){
    font-size: 18px;
}
/* 备注 */
.remarks{
    padding: 10px;
    background-color: #fff;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    font-size: 14px;
    height: 20px;
    align-items: center;
}
.remarks input{
    text-align: right;
    border: none;
    outline: none;
}
/* 支付方式 */
.pay{
    padding: 10px;
    background-color: #fff;
    border-radius: 4px;
}
.pay p{
    padding: 0 0 10px 0;
    margin: 0;
    border-bottom: #eee 1px solid;
    height: 20px;
    line-height: 20px;
    font-weight: bold;
    color: #666;
}
.pay div{
    height: 20px;
    line-height: 20px;
    padding-top: 10px;
    font-size: 14px;
    font-weight: bold;
    color: #666;
}
.pay div i.iconfont{
    color: #0ff;
    font-size: 16px;
}
/* 底部合计 */
.footer{
    position: fixed;
    bottom: 0;
    left: 0;
    height: 30px;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
    width: 100%;
}
.footer span:nth-child(1){
    font-size: 10px;
    color: #333;
}
.footer span:nth-child(2){
    flex: 1;
    font-weight: bold;
}
.footer .topay{
    background-color: #0ff;
    color: #fff;
    height: 30px;
    margin-right: -10px;
    width: 100px;
    text-align: center;
    line-height: 30px;
    border-radius: 2px;
}